//
//  NRWHomeHeaderView.h
//  NRWMall
//
//  Created by 邢毅 on 2018/5/22.
//  Copyright © 2018年 com.anpxd. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "HomeEnum.h"

@class NRWCarBrandModel, NRWHomeHeaderView, NRWRotationListModel;

@protocol NRWHomeHeaderViewDelegate<NSObject>

- (void)homeHeaderView:(NRWHomeHeaderView *)view carCategoryDidClickWithTag:(CarCategotyViewClick)tag;

- (void)homeHeaderView:(NRWHomeHeaderView *)view hotCarBrandDidClickAtIndex:(NSInteger)index;

- (void)homeHeaderView:(NRWHomeHeaderView *)view channelDidClickAtIndex:(NSInteger)index;

- (void)homeBannerView:(NRWHomeHeaderView *)view bannerDidClickAtIndex:(NSInteger)index;

@end

@interface NRWHomeHeaderView : UIView

@property (strong, nonatomic) NRWCarBrandModel *hotCarModel;

@property (strong, nonatomic) NRWRotationListModel *rotationListModel;

@property (weak, nonatomic) id<NRWHomeHeaderViewDelegate> delegate;

//解决轮播图BUG
- (void)viewWillAppear;

@end
